ElasticPress\Indexable\Term\Term C

Total Complexity 121
Dependencies 4
Dependents 1
Total lines 1,118
Lines of code 601
Logical lines of code 242
Comment lines 378
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
maybe_set_search_fields()
A
45 11 43
prepare_meta()
A
50 10 29
maybe_set_fields()
A
45 8 53
parse_meta_queries()
A
52 8 25
query_db()
S
47 6 36
parse_orderby()
S
49 6 30
parse_hierarchical_hide_empty()
S
50 5 36
prepare_term_hierarchy()
S
53 5 23
sanitize_query_vars()
S
60 4 13
prepare_document()
S
52 3 23
parse_exclude_tree()
S
56 3 21
parse_taxonomy()
S
59 3 17
get_indexable_taxonomies()
S
63 4 10
parse_order()
S
64 4 10
parse_parent()
S
60 3 14
parse_child_of()
S
60 3 14
generate_mapping()
S
59 3 14
parse_exclude()
S
60 3 14
maybe_orderby()
S
61 3 12
parse_filters()
S
52 2 26
prepare_object_ids()
S
63 3 10
format_args()
S
58 2 15
parse_object_ids()
S
61 2 14
parse_include()
S
61 2 14
parse_term_taxonomy_id()
S
61 2 14
parse_childless()
S
61 2 14
parse_slug()
S
62 2 12
parse_name()
S
65 2 10
parse_size()
S
66 2 8
parse_from()
S
78 2 3
remap_terms()
S
60 1 14
setup()
S
76 1 4
__construct()
S
70 1 6